Issue #4: ReferenceError: error is not defined
Merge pull request #5 from vegar/master

Issue #4: ReferenceError: error is not defined