Test iframe JavaScript