add missing simicolons, remove not longer needed template definition. fixes jshint tests.