updated js by removing Accel code