Whitespace changes to Map.js.

Remove dangling whitespace, correct indentation of methods and comments.