Preventing FF from crashing within iFrame