 locale = require 'locale/locale'
 
 LOG = false
-LOGX = true
 
 module.exports = ModuleLoader = class ModuleLoader extends CocoClass
 

        console.log "Legacy javascript detected, falling back...", e.message
        uri = "/javascripts/esper.js"

    console.debug 'Loading js file:', uri, "because", why if LOGX
    @queue.loadFile({
      id: path
      src: "/#{window.serverConfig.buildInfo.sha}#{uri}"

    path = wad if wad
    return false if @loaded[path]
    if wad
      console.log "Loading", wad, " for ", originalPath if LOG
    @loaded[path] = true
    @recentPaths.push(path)
    uri = "/javascripts/app/#{path}.js"
