Initial commit of Java and JS code.