Don't call stripDots that much, and test valid key before String allocation [#82006712]
Merge pull request #202 from jwplayer/feature/flash-to-js-performance

Reduce calls to stripDots [#82006712]