   return editor
 
 loadIntoEditor = (editor, url) ->
-  $.ajax
+  return $.ajax
     url: url
     dataType: "text"
     cache: false

EVAL_ASSETS = 
  underscore: "lib/underscore/underscore.js"
  gamEvolveCommon: "gamEvolveCommon.js"


### Globals ###

    editor.selection.clearSelection() 

# Remove code in LocalStorage
clearCodeInCache = (programId) -> localStorage.removeItem(programId)

# Add the factory so it can be used later
registerService = (name, factory) -> services[name] = factory
