Created JS file

Created and added JS file with HTML