Added main js file
linked js file to index