Have you tried removing the Comment within the
getJSON
call at line 68 (pastebin link),
It doesn't look right having the comment in the call parameter, if you want to comment put it in the callback function.
e.g. change;
$.getJSON(
"profiles/retrieve.aspx?id="+farfalla_profile+"&callback=?", {},
function(data) {
to;
$.getJSON(
"profiles/retrieve.aspx?id="+farfalla_profile+"&callback=?", {},
function(data) {
Worth a shot.