module.exports = function(grunt) {

  // These are the files used in order to build the Jcrop.js source
  // variable is used in initConfig concat rule below
  // also used for the watch task
  var jcrop_sources = [
    'src/intro.js',
    'src/filter/*.js',
    'src/component/*.js',
    'src/constructor.js',
    'src/static.js',
    'src/api.js',
    'src/plugin.js',
    'src/modernizr.js',
    'src/outro.js'
  ];

  var json = grunt.file.readJSON('package.json');

  // Project configuration
  grunt.initConfig({
    pkg: json,
    watch: {
      css: {
        files: [ 'src/**/*.less' ],
        tasks: [ 'css' ]
      },
      js: {
        files: [ 'src/**/*.js' ],
        tasks: [ 'js' ]
      }
    },
    concat: {
      options: {
        banner: '/*! <%= pkg.name %>.js v<%= pkg.version %> - build: <%= grunt.template.today("yyyymmdd") %>\n'+
          ' *  @copyright 2008-2014 Tapmodo Interactive LLC\n' +
          ' *  @license Free software under MIT License\n'+
          ' *  @website http://jcrop.org/\n'+
          ' **/\n'
      },
      dist: {
        src: jcrop_sources,
        dest: 'js/<%= pkg.name %>.js'
      }
    },
    less: {
      dist: {
        files: {
          "css/Jcrop.css": "src/css/Jcrop.less"
        }
      }
    },
    cssmin: {
      dist: {
        options: {
          keepSpecialComments: 0,
          banner: '/*! <%= pkg.name %>.min.css v<%= pkg.version %> - build: <%= grunt.template.today("yyyymmdd") %>\n'+
            ' *  Copyright 2008-2014 Tapmodo Interactive LLC\n' +
            ' *  Free software under MIT License\n'+
            ' **/\n'
        },
        files: {
          "css/Jcrop.min.css": "css/Jcrop.css"
        }
      }
    },
    usebanner: {
      dist: {
        options: {
          banner: '/*! <%= pkg.name %>.css v<%= pkg.version %> - build: <%= grunt.template.today("yyyymmdd") %>\n'+
            ' *  Copyright 2008-2014 Tapmodo Interactive LLC\n' +
            ' *  Free software under MIT License\n'+
            ' **/\n'
        },
        files: {
          src: [ 'css/Jcrop.css' ]
        }
      }
    },
    uglify: {
      options: {
        banner: '/*! <%= pkg.name %>.min.js v<%= pkg.version %> - build: <%= grunt.template.today("yyyymmdd") %>\n' +
          ' *  Copyright 2008-2014 Tapmodo Interactive LLC\n' +
          ' *  Free software under MIT License\n'+
          ' **/\n'
      },
      dist: {
        src: 'js/<%= pkg.name %>.js',
        dest: 'js/<%= pkg.name %>.min.js'
      }
    }
  });

  // Load grunt plugins
  grunt.loadNpmTasks('grunt-contrib-concat');
  grunt.loadNpmTasks('grunt-contrib-uglify');
  grunt.loadNpmTasks('grunt-contrib-less');
  grunt.loadNpmTasks('grunt-contrib-cssmin');
  grunt.loadNpmTasks('grunt-contrib-watch');
  grunt.loadNpmTasks('grunt-banner');

  // Default tasks
  grunt.registerTask('default', ['js','css']);
  grunt.registerTask('js', ['concat','uglify']);
  grunt.registerTask('css', ['less','cssmin','usebanner']);

};

@@ -270,32 +270,54 @@
 omponent/*.js',%0A
+    'src/stage/*.js',%0A
     'src/constru

Include stage objects in build (Gruntfile.js)