url shortener by ajax call