Remove two errors showing up in Safari
Merge pull request #10 from thomg/safari-support

Remove two errors showing up in Safari