updates gui console js for scalability