added view name as class to DOM element for easier debugging.