Fix compile_js to work with this version