Woops, I switched the code to load them in an iframe, however I forgot to remove the code that tries to do it the old way.