jscript: Use compiler-generated struct for representing function code.