phonegap version of hextris