Began cleaning up file upload logic. Created view model classes for lexical and document elements to represent the subset of information to be rendered into the various views. Moved some logic out of razor views.
Fixed a few bugs. Improved javascript unit tests. Generalized css declarations for lexical elements to allow for better combinations of styles. Element to style mapping is now tied to view models and no longer performed in razor views.