SONAR-4093 Fix JS error on Chrom* browsers, cleanup
SONAR-5094 Do not let the HTTP exception be swallowed by the underlying lib