fix character counter and delete posts
cleanup spaces and jshint errors