Misc fixes to details.html; need to add jade for it