updated to use jQuery instead of Zepto