objectify the JS, and add the links to the files