boggle in javascript