Bootstrap 3 compatibilty + fixes

Details in commits :)