Some coding updates to social widget