move javascript sdk social media to footer.php