make grunt-defs ES5-compatible