Firefox doesn't like setAttribute use iframe.contentWindow.location = instead