Sketching out javascript api module
Add some explicit tests for unicode characters