small jqm bugs fixes