define and export constants in utils.js and use those here.