Working around foundation 5.0.2 document ready issue.