fix left-hand assignment error
L.hash() now fires change events through the map
move jsdom require to the top