www: move to grunt 0.4

grunt 0.4 allows gruntfile to be in coffeescript directly
which makes the build script much more easy to understand