Adding js console messages