Brought the static html and js files into the project directory. Changed the files paths in the static resource.