Bugfix: require calls onreadystatechange twice