changes to make bootstrap compatible with webapps plugin