     callbackList[requestUri] = [mod]
 
     onRequest = ->
+      data = getData()
+      {anonymousMeta} = data
+      {fetchingList} = data
+
       delete fetchingList[requestUri]
-
       fetchedList[requestUri] = true
 
       # Save meta data of anonymous module
-      if anonymousMeta
+      if anonymousMeta?
         Module.save uri, anonymousMeta
         anonymousMeta = null
 

    # Create require
    {uri} = mod

    require = (id) -> get require.resolve(id).exec()
    require.resolve = (id) -> resolve id, uri
    require.async = (ids, callback) ->
      use ids, callback, uri + "_async_" + cid()
      require


    emit "define", meta

    # Save information for "saving" work in the script onload event
    if meta.uri
      save meta.uri, meta
    else data.anonymousMeta = meta
    return
