Fix bootstrap javascript issues