btoa was not working before it was dereferenced

In Chrome, initial setup showed an Uncaught TypeError: Illegal Invocation Error at this point.

Not sure why it wasn't working, but after dereferencing, it now encodes just fine.

Related to:
https://github.com/wordnik/swagger-js/issues/63
https://github.com/wordnik/swagger-js/issues/64