removing leading / before ajax calls