[misc] Fixed minor javascript bug on patient view screen; minor XML fix in EthnicitySearch