modify javascript