adding jquery rest client