Update cookbook.js

Complete output API van recept.