JQueryMobile Router Refactor