firefox fix

getting the selection of words to work in firefox