Convert Gruntfile to JavaScript.