Don't assume options object has a hasOwnProperty method

Closes #43
Add charset to script link that includes test suite

So that browsers don't get confused by the utf-8 sequences.