I noticed that when you save the text widget with the Twitter code in it, it will strip the Javascript portion out. Possibly for security reasons, because when I do it as an admin the entire code stays. When a normal user does it, part of the code is stripped by WP.