I'm wondering if anybody had any problems trying to produce a widget for Wordpress.com. I have been getting some trouble they do not seem to accept JavaScript code whereas creating one for Wordpress.org is not an issue.

Additionally, I'm wondering an amount be the easiest method to implement a widget/wordpress plugin through other Blogging platforms for example Tumblr, Posterous, Blogger, or Typepad. Top tips could be much appreciated!