Update and rename functions.js to function.js