HTML5, Image/XMLHttpRequest: Fix references and contexts.