Fixed touch events when using jQUery.