Correct CJS.
Removed addEvent shim.
Use readyState again.