fixed javascript bug