Typo for JavaScript keyword 'function'

Fix tiny typo.
Merge pull request #54 from kahwee/patch-1

Typo for JavaScript keyword 'function'