[refacotr] all d&d table use one js