Stopped using iframes, and now serving resources woth proper MIMEs.
Fixed an error in css fixing which generated a bad url.