Create functions.js