Some cleanup of JS, in process on social buttons