fix for #433

don't change the value of outer variable eventType
normalize touchend's touches (Firefox OS issue)
fix build

because of previous commit
touchend normalize
normalize endtouches, for firefoxos support