fix `grunt build` and add it to CI