rewrite js_shorter