added table javascript