Fix for #10
Fix compiler support for unicode strings #10
This fixes #10 by using js specific functionality instead of fixing format function. For the later one I have created #20 but not really sure how important is it to match java format API.
At least for now, I think that's fine. I'm not sure where string formatting would fall on the "native integration" -> "common interface" continuum.