pulled out the js file from index.html