While Python dictionaries are basically JSON syntax, there are some differences which would prevent you from loading the dictionary created in Python in JavaScript.

Among them, Python uses False while JavaScript uses false. They are not interchangeable.

A good review of Python JSON libraries is at http://deron.meranda.us/python/comparing_json_modules/.

I personally use simplejson.

Python - JavaScript