Fixed bug in js_loadjs