fixed #58  wordcount in firefox