modified to use zepto in place of jQuery