added base64 encoding, and minified updated script
Merge pull request #1 from emil10001/master

added base64 encoding, and minified updated script