Added bootstrap support and html5 mode