JSHint was breaking on build

This commit adds a {} for an inline if statement that was breaking the
jshint part of the grunt build
Merge pull request #51 from jefflembeck/master

JSHint was breaking on build