change js code