fix res-animations-disabled breaking because doc.body not available yet