fix javacript bug
javascript