fix and test for issue 203

link to issue: https://github.com/Khan/live-editor/issues/203
This is redundant with loaded, why not just call loaded()?