added first CST feature in cstcodegen.js, see README below.