Remove XHR require from views