Adding client side call to view.remove() to fix memory leak