A very simple graphing calculator in JavaScript