better use getElementsByClassName nowadays
sanitize, make valid (in terms of HTML5) and fix/update content (grunt packages and tasks)