Update Gruntfile.js to make build success. Update JS dependencies