updated console js