slate config via js