fixed js var