WIP, separating index.html and offlinemap.js