Finished removal of confidence, refactoring of view. Now more JS friendly (though the JS itself could use some more refactoring to separate dom and event handling stuff)