Fixed undefined errors so it's compatiable within the browser
Merge branch 'refs/heads/sequencer'
Merge pull request #3 from davidpaulrosser/master

Browser compatibility