More BS styling, re-implemented and improved manipulate.js