optional callback and option object
Merge pull request #2 from better-history/optionals

optional callback and option object