Cleaned up and fixed map html.

Will still need to test php tomorrow.