changing isInitializedProperty to editorInitializedProperty and adding callback to editor.html to check when require.js loads editor