 
   # Script optimization tasks
   optimizeScriptTasks = [
-    'closure-compiler'
+    'uglify'
     'copy:jsmin'
     'clean:jsmin'
   ]

          warning_level: 'verbose'
          summary_detail_level: 3


  ####
  ## Custom tasks


  grunt.registerTask 'optimize', ->
    # TODO: turn on after our refactoring
    if NODE_ENV isnt 'dev'
      grunt.task.run(optimizeScriptTasks)

  grunt.registerTask 'updateComponent', ->
    manifest = grunt.file.readJSON('component.json')
