Initializing variables, updating coding stnadards

* WPCOM_sharing_counts throws an error with other plugins if the sharer isn't on a page, so an empty array is being initialized

* Updating the code to follow the JavaScript coding standards
Merge pull request #2 from tommcfarlin/master

Initializing variables, updating coding standards