we now use ratio to fix the map zoom
rearranging the code and use coffee script
eval is evil