ej.function.js: added outputmode attribute