how about doing return once?
`return experiments unless window.optimizely and oState  = window.optimizely.data.state`