Javascript's type categorization continues to amaze and confuse. Adding in a check if null is passed in as the options object.
Merge pull request #35 from uber/fix-client-options-substitution

Fix client options null crash