Move example sockjs views to a new route function