Implemented Ajax for JVM, and tests