Refactor writing.js
Add word count to writing area