Subclassed View/Track/HTMLFeatures to remove redundant code. Moved style
information back into main.js to consolidate subclassed functions.