Revert "Bug 656632 - jsbridge JSONEncoder copy+pastes from simplejson code;r=jhammel" due to jsbridge disconnects

This reverts commit 29c68aa5e36f6d2f14eda42a1a315c1f45564497.