It should be this.options, not just options
Merge pull request #10 from rjmunro/feature/fix-beacon-options

Fix beacon options