setting up files, linked js to index