add "strict: true" to jshint options, fix all common-code files that failed