Fixes the “can’t get __ of undefined” error if no options are defined
Merge pull request #15 from ben-ng/optsfix

Fixes the “can’t get __ of undefined” error if no options are defined