Updated spec to use AppFunc for ECMAScript