changes to ensure all JS files are served locally.