fixing bootstrap js error