Update services.js

Fixed IRI bug. Maybe a better fix would be to decode the urlescaped characters when receiving the referrer URL.