Brian's branch

The equation is now correctly connected to the html.