Fixing some of the more egregious jQM 1.4.0 migration issues.