Remove js file and change some functionality