Move js to own file. Combine map html with index.