change to makred.js and support table