javascript bug fix
javascript bug