     ext = path.extname @configFilePath
 
     switch ext
+      when '.js', '.coffee'
+        config = require(@configFilePath)()
+        delete require.cache[@configFilePath]
+
       when '.json'
         config = require @configFilePath
         delete require.cache[@configFilePath]

      while count < projectCount
        pathToCheck = atom.project.getPaths()[count]
        if editor.buffer.file.getParent().path.includes(pathToCheck)
          @projectToolbarConfigPath = fs.resolve pathToCheck, 'toolbar', ['cson', 'json5', 'json']
        count++

    if @projectToolbarConfigPath is @configFilePath

      ext = path.extname @projectToolbarConfigPath

      switch ext
        when '.js', '.coffee'
          projConfig = require(@projectToolbarConfigPath)()
          delete require.cache[@projectToolbarConfigPath]

        when '.json'
          projConfig = require @projectToolbarConfigPath
          delete require.cache[@projectToolbarConfigPath]
