Created functions.js file.