js + fixes for bootstrap theme