Add missing semi colons
Namespacing
Replace base64 lib and document changes