provide base url on ajax request for proper sub directory support