Solved some jshint problems, and set default center zoom to 1