Update ViewLoader.php

provided stub method for ajax