fix case where 'options' is not defined
better check for whether or not 'options' is definied
Merge pull request #1 from akenn/cloudflare

Fix case where 'options' is not defined