Update and rename function.js to functions.js