Modify javascript