Adding code to add compatibilty for bootstrap