Changed configuration from json to js file