Tried using local HTML file to load the page. JS does not work really