Javascript coaches' scratchpad