remove javascript bug