Addition of prototype and JSXGraph and implementation of code in a HomeController method