JBIDE-15932 BrowserSim: Coloring eclipse console depending on the js console method (info, warn, error). Refactoring