[bug 850816] Add Optimizely script behind "optimizely" flag.

small r?