The JavaScript code below implements a simple clone of the tile-matching game Bejeweled. To see the source code or leave a comment, visit https://thiscouldbebetter.wordpress.com/2014/06/17/a-bejeweled-clone-in-javascript/.