Add 'use strict' everywhere.
Fix jshint errors where it makes sense to do so.