edit js code