fix and test for issue 203

link to issue: https://github.com/Khan/live-editor/issues/203
Sorry, I meant you could keep that line, and then call loaded();