Web: Clean up view from JS