Functions

fixes to argsas and speak problems in functions.js file