Update function.js

grammar mistake
Merge pull request #9 from inhumanitas/patch-1

Update function.js