extract config into separate js file