Fixes the proposal abstract word count javascript functions
fix #510
Merge pull request #513 from ChrisBr/fix_proposal_js

Fixes the proposal abstract word count javascript functions