           'build/js/jail_iframe/initializers/*.js'
           'build/js/jail_iframe/wrap/last.js'
         ]
-        dest: 'build/jail_iframe.js'
+        dest: 'build/js/jail_iframe.js'
     sass:
       build:
         options:

        preserveComments: (node, comment) -> !comment.value.lastIndexOf('@license', 0)
      jail_iframe:
        files:
          'build/jail_iframe.min.js':                        ['build/jail_iframe.js']
      factlink_loader:
        files:
          'build/js/loader/loader_common.min.js':       ['build/js/loader/loader_common.js']
    shell:
      gzip_js_files:
        command: ' find build/ -iname \'*.js\'  -maxdepth 1  -exec bash -c \' gzip -9 -f < "{}" > "{}.gz" \' \\; '

    copy:
      loader_aliases:
        files: [
          { src: 'js/loader/loader_common.js', cwd: 'build/', dest: 'factlink_loader_basic.js' }
          { src: 'js/loader/loader_common.js', cwd: 'build/', dest: 'factlink_loader_publishers.js' }
          { src: 'js/loader/loader_common.js', cwd: 'build/', dest: 'factlink_loader_bookmarklet.js' }
          
          { src: 'js/loader/loader_common.min.js', cwd: 'build/', dest: 'factlink_loader_basic.min.js' }
          { src: 'js/loader/loader_common.min.js', cwd: 'build/', dest: 'factlink_loader_publishers.min.js' }
          { src: 'js/loader/loader_common.min.js', cwd: 'build/', dest: 'factlink_loader_bookmarklet.min.js' }
          
          { src: 'js/loader/loader_common.js.gz', cwd: 'build/', dest: 'factlink_loader_basic.js.gz' }
          { src: 'js/loader/loader_common.js.gz', cwd: 'build/', dest: 'factlink_loader_publishers.js.gz' }
          { src: 'js/loader/loader_common.js.gz', cwd: 'build/', dest: 'factlink_loader_bookmarklet.js.gz' }

          { src: 'js/loader/loader_common.min.js.gz', cwd: 'build/', dest: 'factlink_loader_basic.min.js.gz' }
          { src: 'js/loader/loader_common.min.js.gz', cwd: 'build/', dest: 'factlink_loader_publishers.min.js.gz' }
          { src: 'js/loader/loader_common.min.js.gz', cwd: 'build/', dest: 'factlink_loader_bookmarklet.min.js.gz' }

        ]

      config_development:

        files: [
          { src: ['**/*.js', '**/*.png', '**/*.gif', '**/*.woff', 'robots.txt'], cwd: 'app', dest: 'build', expand: true }
        ]
      dist_static_content:
        files: [
          { src: ['robots.txt', 'images/**/*'], cwd: 'build', dest: 'output/dist', expand: true }
        ]
    watch:
      files: ['app/**/*', 'Gruntfile.coffee']
