fixed maps.html js code