Added utility for stripping unnecessary information from lines in the
JavaScript console.