move the javascript into the body
hide persons if empty
fix flash fallback