Moved from a bare jquery implementation to using angular js.
Cleaned up the display slightly.