fixed js_dev undefined