check js type
js method wrapper
wrap amd,cmd to capture module id when error occurs within module factory function.
async context
apm