changing server url to relative in AJAX request for fieldtrips api