Config JS reader fixed