err was not defined
Merge pull request #5 from d3media/fix-not-defined-error

err was not defined