es6ify with subarg support