port the first javascript wrapped service to use groovy based services