Extracted javascript file from index.html into separate script file myjs.js