fix IE8 not supporting some jquery.mobile code