Fixed boostrap js bug