remove parts of the script that are global in nature
adds a custom js file to override parent file