Refactored the favorite button ajaxification to a separate function
Refactored the favorite button ajaxification to a separate function

csarven/statusnet,charlycoste/StatusNet,znarf/statusnet-ladistribution,d3vgru/StatusNet,studio666/gnu-social,csarven/statusnet,shashi/StatusNet,shashi/StatusNet,Piratas/tortuga,gnusocial/mainline,chimo/social,xebia/statusnet-oauth2,gnusocial/mainline,foocorp/gnu-social,faulteh/gnu-social,charlycoste/StatusNet,sikevux/bsk-social,charlycoste/StatusNet,eXcomm/gnu-social,bankonme/gnu-social,znarf/statusnet-ladistribution,studio666/gnu-social,csarven/statusnet,sikevux/bsk-social,charnimda/lgbtpzn-social,xebia/statusnet-oauth2,gnusocial/mainline,sikevux/bsk-social,csarven/statusnet,faulteh/gnu-social,eXcomm/gnu-social,faulteh/gnu-social,brion/StatusNet,studio666/gnu-social,Piratas/tortuga,furtherfield/gnu-social,brion/StatusNet,minmb/statusnet,zh/statusnet,zcopley/zcopleys-statusnet-clone,zcopley/StatusNet,foocorp/gnu-social,chimo/social,gnusocial/mainline,zh/statusnet,foocorp/gnu-social,studio666/gnu-social,eXcomm/gnu-social,brion/StatusNet,chimo/social,charnimda/lgbtpzn-social,d3vgru/StatusNet,faulteh/gnu-social,furtherfield/gnu-social,d3vgru/StatusNet,charnimda/lgbtpzn-social,zcopley/zcopleys-statusnet-clone,sikevux/bsk-social,UngPirat/freesocial,furtherfield/gnu-social,minmb/statusnet,Piratas/tortuga,UngPirat/freesocial,xebia/statusnet-oauth2,Piratas/tortuga,shashi/StatusNet,zcopley/StatusNet,bankonme/gnu-social,UngPirat/freesocial,bankonme/gnu-social,zcopley/zcopleys-statusnet-clone,zcopley/StatusNet,eXcomm/gnu-social,zh/statusnet,minmb/statusnet,bankonme/gnu-social,znarf/statusnet-ladistribution,furtherfield/gnu-social