Facebook and Twitter share option JS modularized