Style: prefer msg.randomSeed to msg['randomSeed']
Inline options, to avoid scope problems
Don't test that undefined == STRING for id generation

We test that elsewhere!
Remove trailing comma

Breaks IE
Remove commented-out code