small change to js console logging