Fix jshint error where msg is not defined
Merge pull request #21 from quaertym/patch-4

Fix jshint error where msg is not defined