Simple puzzle game deployed to ios with Cordova