added JS files

Added in the new js files to make it work, hopefully!