Add config as js file