update js for media/privacy also