On method exceptions: DOMContentLoaded and onreadystatechange