flip on "use strict" and clean up some jshint issues