adding the js for console, not inculding the db