Plain javascript DOM to allow IE10 to work (denied access to iframe
using jquery).