Adding Jenkins JS client
Updated error handler to pass unmodified variables