#1132: Fix some jshint warnings