Refactor index.html template and neutronmap.js