#2234: Declare local variable

IE11 needs local variable to be declared
#2234: Fix test typo

IE11 do not have endEvent.target.classList so do not run right side of
the test
Merge pull request #2351 from mathiasmuller4sh/master

fix(collectionrepeat): typo to allow collectionrepeat on WP8