fix syntax errors in example, fix variable names

add example of resumable.assignBrowse()