Improve Jscustom process