Move javascript outside of HTML
Move scripts to the end of page
Wrap code into a module
Add ui-bootstrap
Use accordion
Refactoring
Change bootstrap theme
Fix the lead message.
Indentation and style tweaks