fixes argsasarray and speak in the functions.js file