Fix missing e parameter when handling HTTP errors
Suppress jslint warning on node