module.exports = function(grunt) {
	// load all tasks
	require('load-grunt-tasks')(grunt);

	grunt.initConfig({
		jshint: {
			options: {
				asi: true,
				browser: true,
				laxcomma: true,
				globals: {}
			},
			gruntfile: {
				src: 'Gruntfile.js'
			},
			dist: {
				src: ['js/*.js', '!js/*.min.js', 'js/ga.js', '!js/*.pack.js']
			}
		},
		sass: {
			dist: {
				files: {
					'dist/styles.css': 'css/styles.scss',
					'dist/styles_s6.css': 'css/styles_s6.scss'
				},
				options: {
					sourcemap: 'none',
					style: 'compressed',
					trace: true,
					update: true
				}
			}
		},
		uglify: {
			options: {
				compress: {
					drop_console: true
				}
			},
			dist: {
				files: {
					'dist/videosearch.min.js': 'js/videosearch.js',
					'dist/thesis.min.js': 'js/thesis.js',
					'dist/nml-adv.min.js': 'js/nml-adv.js',
					'dist/nml.min.js': [
						'js/nml-images.js'
						, 'js/fancybox-init.js'
						, 'js/note.js'
						, 'js/ga.js'
					],
					'dist/catalog.min.js': [
						'js/cca-webpac.js'
						, 'js/book-jacket.js'
						, 'js/fancybox-init.js'
						, 'js/note.js'
						, 'js/ga.js'
					]
				}
			}
		},
		watch: {
			sass: {
				files: 'css/*.scss',
				tasks: ['sass']
			},
			jshint: {
				files: [
					'js/*.js', '!js/jquery.*.js'
				],
				tasks: ['jshint']
			},
			js: {
				files: [
					'js/*.js', '!js/jquery.*.js'
				],
				tasks: ['uglify']
			}
		}
	});

	// shortcuts, multi-tasks
	grunt.registerTask('test', ['jshint']); // @todo scss-lint
	grunt.registerTask('build', ['sass', 'uglify']);
	grunt.registerTask('default', ['sass', 'uglify']);
};

@@ -1012,24 +1012,71 @@
 -webpac.js'%0A
+%09%09%09%09%09%09, 'js/title.js'%0A%09%09%09%09%09%09, 'js/citethis.js'%0A
 %09%09%09%09%09%09, 'js/

update gruntfile with new Js files