Graphing Calculator in HTML, CSS and Javascript