Added scorePreview to StatefulEditorPage

Test Plan:
click "score" in test.html; make sure there are no js errors and
that a score object is output.

Auditors: joel