A scratchpad for JavaScript code