Move profile map building to the browser to give Django less to do.
Trailing whitespace.