Tldr. Someone gained write access to the script Optimizely serves, and they injected malware. What is interesting is that the write access wasn't just for a single customer, but hundreds.