Reenable filter on media visibility

Also handle some other WP3.8 admin area js stuff.