Update to jQueryMobile 1.4

Added some stuff for jQuery mobile 1.4
Also removed 2 methods which don't exist in 1.4 anymore.