removing not needed global JS