Memory Game with Cordova