move max upload size setting to config.js