Changes to make calls work with Firefox.

This has a few fixes to make calls work with Firefox 22.