removed unused js variables