Added 'use strict' and appropriate jshint options to pass validation