Fixes on load_jscript