Cross platform game based on jQuery Mobile