Added some chnages for jqm-1.4