Fix js error.
Merge pull request #493 from optimizely/krush/fix-js-error

Fix js error.