Updated map.js

Rounding the latitude/longitude to a fixed number so that the aggregate
sums are more aggregated (fancy that)
Added redirect on accounts load fail.

Also discovered a bit of a bug. when you go to the maps page, you seem
to lose your session for some reason. Not sure why yet.
Fixed bug in JS.

needed withCredentials and had to change from using convenience .get to
using .ajax to specify as such.

Funny enough I only need this on the requests from within the success
callback of the other call. Strange.
Compiled app and map js