converted to a jQuery plugin

This is one of those things that works great as a jQuery plugin
counts words not characters
Update wordcount.js
Merge pull request #1 from modemlooper/master

converted to a jQuery plugin