js : use dispatchMethod instead

minify