Maps - performance tune-up (phase 1, wip)

See this bug for details:
https://bugzilla.mozilla.org/show_bug.cgi?id=985158#c5