using hidden div for rails root for ajax calls