App Factory JQuery Mobile