Useless to have to require instance

Just define Base64 in the global namespace if not already defined.
Then,
var str = Base64.encode("whatever");
console.log(Base64.decode(str)); //outputs "whatever"