Update hgfunc.js
Merge pull request #10 from revird/patch-10

Update hgfunc.js