Frontend JS files relocation

- Change global var $js_root while serverless