Move this local function in where we have scribe available
Merge branch 'iframe_support' into enable_ie_support