remove unused js snippets