Minor edit for Zepto.js compatibility

The extend function must be accessed by $.extend for Zepto.js compatibility.