Bootstrap 3.2.0 updates, datepicker

Also some JS functions debugged. Detailed info in commit messages.