Change js code