removes unused js var