gracefully handle non-json error response from browserify-cdn. emit error along with 'bundleError' to be displayed or logged in calling module.