js code edit