Fixed compatibility quirk (works on Chrome again)

And fixed word count bug.