refactor non js partial to use correct yaml