added event to optimizely js