Refactor configuration values into config.js