Ensure that options is normalized before setting flag.

This fixes failing tests in Safari (since it will not allow you to set 
additional keys on a string).


Thanks to @machty for tracking this down.