Made some changes to yamlinterface.js