A simple tool using JavaScript to assist in thinking about programming