adding optimist to deps, fixes #2