Ok, here's my URL
http://<DOMAIN>:8080/alfresco/service/medportal/media?format=json&alf_ticket=TICKET_15459ecdc200aabc88c62d094902e32ddc741f2c
And here's my definition:
The result ends up being this error (nothing happens on the page)
-------------------
f is undefined
(from firebug)
This service isn't publicly accessible so I can't jsfiddle it.