code: private V8Object convertJavaObject(Object o) {
  		V8Object v8o = new V8Object(runtime);
  		Method[] methods = o.getClass().getMethods();
  		for (Method m : methods) {
  			v8o.registerJavaMethod(o, m.getName(), m.getName(),
  					m.getParameterTypes());
  		}
  		return v8o;
  	}
docs: Convert a Java object to a V8 object. Register all methods of the
  Java object as functions in the created V8 object.
  @param o the Java object
  @return the V8 object