Move some magic number into a config.js file