replace jquery with zepto, refactoring