fix syntax errors in example, fix variable names

add example of resumable.assignBrowse()
Merge pull request #2 from rcy/master

fix syntax errors in example, fix variable names.  Thanks @rcy!