add the missing constant.js