HTML5 event and updating view with a simple view class.