fixed linting errors
chained .removeClass and .addClass calls
Cleaned up ViewIndicator.js