moved to js config