Seperating calculator maths from UI implementation, added submit button and including js in calculator-results