Fixed the example so it compiles in latest Firefox Nightly

The example in the spec does not compile in the latest Firefox nightly. This one does