Encode URI compunent before AJAX GET