basic metadata display (HTML and via JS) working well, but obfuscated by bad metadata in files