Non jQueryMobile users issue (undefined variable)

The plugin is not working without jQueryMobile because of this test