made this ready for testing within friendly iframes