Javascript version of the Android game - Chain Reaction