fixes syntax and semantics

- Change closure syntax to more readable
- Implicit conditionals
- New Base64 encoding and decoding functions
- length as a var rather than a func