html pages refresh after adding socialinvocation sample