fixing this js file that should probably be removed