Fix JAR/JAD files loading multiple times.
Load jars independently of file system init.
Reimplement java.lang.String with JS Strings.
Replace fromCharCode loop with TextEncoder; fix indentation; fix getField conventions.
Wait for FS init.
Add promises polyfill.
Add a few tests for lastIndexOf and endsWith.
Merge pull request #353 from mcav/strings

Reimplement java.lang.String with JS Strings.
Merge pull request #347 from brendandahl/fix-init

Fix JAR/JAD files loading multiple times.
return -1 early when Protocol.read0 called on closed socket
Merge pull request #364 from mykmelez/read-on-closed-socket

return -1 early when Protocol.read0 called on closed socket