Added javascript file to the folder structure and linked it to the index.html file