update to functions.js
changes to functions.js