fix tagbar for javascript