Updating typo
Using simpler logic for location change
Refactoring centering function name
Removing unecessary variable
Simplifying last  click property
Removing unecessary facebook load timeout
Having better facebook element load