Replace Zepto with jQuery and add inputHistory