add beforeEach and afterEach to allowed globals in .jshintrc
create plugin jQuery.countText as an AMD module