fixed ajax breaking on manual page refresh, made all routes check to see if request was XHR and if it was setting layout to false