Fixed some of the egregious errors with the jqtouch boilerplate.