Replaced ES5 vars to ES5Funcs object