config now in js