Remove whitespaces
Check $.browser method definition first (TypeError: Cannot read property 'msie' of undefined)
When arrow key pressed, but zgallery classes are not defined (TypeError: Cannot call method 'attr' of undefined)