Fixed ajax url
Now handles direct URLs. Better click event support.