removed javascript bug