Add optimized bootstrap JavaScript

Instead of adding all JavaScript from bootstrap only the collapse jquery
plugin is required. The new version only includes this.