Added external js file in index.html