Fix GDM reference error in wordCounter.js

GOVUK.GDM does not current exist at this point in
the script so we need to provide a case for that.
Add call to wordCounter when the page loads