Fix for bug 850847 (Fix dictionary in generated example for workers). r=bz.

--HG--
extra : rebase_source : 75117320f23b5af82eb0ee7648c3e0dd876fe19e