add debug method to jqm helper