Fix Firefox problem.

Firefox didn't correctly load notes because we didn't wait for the iframe to be loaded.