gracefully handle non-json error response from browserify-cdn. 

also emit error along with 'bundleError' to be displayed or logged in calling module.