moving my config file to js