Update to main js

Updated Bootstrap css to 3.1.1, added jQuery and Bootstrap js after end body (as the collapsible nav bar depends on it).