Renamed function

Name was `assign` in the `revoke.js` file…looks like a copy-paste error…
Merge pull request #58 from tomkersten/name-error

Renamed function