Compile functions to JavaScript properly (#7)
Fix a bug in string literal compilation