Small changes on the format of the function.js