// JavaScript for the PBS Parents Twitter Badge (function($){ $(document).ready(function(){ var tUsername, count, url, cTwitter, tweet, date, cDate; // Sets var namespaces tUsername = "pbsparents"; // Defines Twitter Username count = 2; // Defines number of Tweets in badge url = "http://www.twitter.com/status/user_timeline/" + tUsername + ".json?count=" + count + "&callback=?"; // Defines URL of Twitter API cDate = "ts" // Class name for span $.getJSON(url,function(data){ cTwitter = $("#twitterFeed"); // Caches Twitter Feed container in HTML (