Converted CalcEND to use Knockout.js
Moved Knockout model to seperate js file.