edit js var