ticket BK-794
cross browser compatiblity for the word count