I'm not sure is it possible at all, but my thought was to write some coffescript, than to compile it and run with node.
I did what I thought configuratiob should be (see screenshot), but result is the same whatever I did:
/usr/local/bin/coffee -c /Users/soswow/Work/NodeJSHeroku/sample.coffee
env: node: No such file or directory
Process finished with exit code 127