share buttons
refactor js