Moved config to separate js file