Fix jshint errors
Zooming using viewport