Improve jscustom process