Initial submission (v1.0). Minor tweaks remaining.

Still looking at adding the ability to stop propagation from
.on("click") in the select2. Nothing major though.