Couple of places throughout this file for single-line if's: I think I haver the .jshint set with curly: true to require curly-braces