Rewrote the maps JS a bunch.