$("td#userData").fadeIn("fast");
$("td#userData").html("<%= escape_javascript(render(:partial => @page)) %>");
<% if ["comments", "matches", "predictions", "teams"].include? @page %>
  $("td#userData").removeClass("box");
<% else %>
$("td#userData").addClass("box");
<% end %>