Relative url for ajax and upload