Zepto.js (1.0+) compatibility
jshint code cleanup