consolidated constants into config.js