JS fix for BEF and Bootstrap bug.