modify index.html for js map