Modify example: function.js