remove unused js variables