Adapted for upgrade of Bootstrap.