Fix for infinite reloads from addthis widget

From #1585.