cookbook exemple Store in JS