add js  cookbook