avoid checking callbacks to be 'functions' since we know they are, greatly simplified the iframe handler code