adding JsHint and 'use strict'; statements