UPDATE 4

fixing functions.js file