updating for changes in Zepto / jQuery