fix #218 and the base64 decoding

Fix #218 and the base64 decoding. `atob` is broken.

The base64 decoding codes is translated from LiveScript one, and I have not create a minified js with a proper header.