first shot for jquery codegen based on a servant API type