css: match Bootstrap 3 styles

Signed-off-by: Georgios Kokosioulis <giokokos@gmail.com>
js: JS bugfixes and enhancements

Signed-off-by: Georgios Kokosioulis <giokokos@gmail.com>