diff --git a/.gitignore b/.gitignore
index 5c9083838..ea29d5263 100644
--- a/.gitignore
+++ b/.gitignore
@@ -8,3 +8,5 @@ config/y.go
config/y.output
vendor/
website/.vagrant
+website/build
+website/node_modules
diff --git a/website/Gruntfile.js b/website/Gruntfile.js
new file mode 100644
index 000000000..538cf7979
--- /dev/null
+++ b/website/Gruntfile.js
@@ -0,0 +1,36 @@
+// jshint node:true
+module.exports = function(grunt) {
+
+// Load plugins here
+grunt.loadNpmTasks('grunt-contrib-less');
+grunt.loadNpmTasks('grunt-contrib-clean');
+grunt.loadNpmTasks('grunt-contrib-connect');
+grunt.loadNpmTasks('grunt-contrib-copy');
+grunt.loadNpmTasks('grunt-contrib-watch');
+grunt.loadNpmTasks('grunt-recess');
+
+// Configuration goes here
+grunt.initConfig({
+
+ less: {
+ development:{
+ files: {
+ "source/stylesheets/main.css": "source/stylesheets/main.less"
+ }
+ }
+ },
+
+
+ watch: {
+ less: {
+ files: 'source/stylesheets/*.less',
+ tasks: ['less']
+ }
+ }
+
+});
+
+// CSS Compliation task
+grunt.registerTask('default', ['watch']);
+
+};
diff --git a/website/config.rb b/website/config.rb
index da0e32976..f3847acb3 100644
--- a/website/config.rb
+++ b/website/config.rb
@@ -18,3 +18,7 @@ configure :build do
activate :minify_html
activate :minify_javascript
end
+
+configure :development do
+ set :debug_assets, true
+end
diff --git a/website/source/Gruntfile.js b/website/source/Gruntfile.js
deleted file mode 100644
index c1b922a03..000000000
--- a/website/source/Gruntfile.js
+++ /dev/null
@@ -1,67 +0,0 @@
-// jshint node:true
-module.exports = function(grunt) {
-
-// Load plugins here
-grunt.loadNpmTasks('grunt-contrib-less');
-grunt.loadNpmTasks('grunt-contrib-clean');
-grunt.loadNpmTasks('grunt-contrib-concat');
-grunt.loadNpmTasks('grunt-contrib-connect');
-grunt.loadNpmTasks('grunt-contrib-copy');
-grunt.loadNpmTasks('grunt-contrib-uglify');
-grunt.loadNpmTasks('grunt-contrib-watch');
-grunt.loadNpmTasks('grunt-recess');
-
-// Configuration goes here
-grunt.initConfig({
-
- less: {
- development:{
- files: {
- "stylesheets/main.css": "stylesheets/main.less"
- }
- }
- },
-
- concat: {
- options: {
- separator: ';'
- },
- site: {
- src: [
- 'javascripts/app/app.js',
- 'javascripts/app/util.js',
- 'javascripts/app/homepage.js'
- ],
- dest: 'javascripts/app/deploy/site.js'
- },
- },
-
- uglify: {
- app: {
- files: {
- 'javascripts/app/deploy/site.min.js': ['javascripts/app/deploy/site.js']
- }
- }
- },
-
- watch: {
- less: {
- files: 'stylesheets/*.less',
- tasks: ['less']
- },
- js: {
- files: 'javascripts/app/*.js',
- tasks: ['concat', 'uglify']
- }
- }
-
-});
-
-// JS distribution task.
-grunt.registerTask('dist-js', ['concat', 'uglify']);
-
-// Full distribution task.
-grunt.registerTask('dist', ['dist-js']);
-grunt.registerTask('default', ['watch']);
-
-};
diff --git a/website/source/javascripts/all.js b/website/source/javascripts/all.js
new file mode 100644
index 000000000..159566c2e
--- /dev/null
+++ b/website/source/javascripts/all.js
@@ -0,0 +1,24 @@
+//= require "lib/jquery-2.0.3.min"
+//= require "lib/bootstrap.min"
+//= require "lib/String.substitute"
+//= require "lib/Vector"
+//= require "lib/Function.prototype.bind"
+//= require "lib/Base"
+//= require "lib/Chainable"
+//= require "lib/dbg"
+//= require "respond.min"
+//= require "html5shiv"
+//= require "docs"
+//= require "app/Logo"
+//= require "app/Grid"
+//= require "app/Engine"
+//= require "app/Engine.Particle"
+//= require "app/Engine.Particle.Fixed"
+//= require "app/Engine.Point"
+//= require "app/Engine.Point.Puller"
+//= require "app/Engine.Polygon"
+//= require "app/Engine.Polygon.Puller"
+//= require "app/Engine.Shape"
+//= require "app/Engine.Shape.Puller"
+//= require "app/Engine.Typewriter"
+//= require "app/Init"
diff --git a/website/source/layouts/_footer.erb b/website/source/layouts/_footer.erb
index c3762ba16..3f977d947 100644
--- a/website/source/layouts/_footer.erb
+++ b/website/source/layouts/_footer.erb
@@ -21,28 +21,7 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+<%= javascript_include_tag "all" %>