Boggle javascript game