Fixt linting issues on social-media.js file

Were using this script in Popcorn Maker and lint complained about the lines I touched so I fixed them.  If your interested in the fixes, here they are!