Refactor:Add constant.js