A bejeweled game in JS