Refactor to use WebAPI to return JSON and use AngularJS to wire it up to make page alot neater than before.