fix zoom on the city map (firefox detection was broken) and convert to dumb_inject style