Fix problem in touchable device

When 'ontouchstart' is in document.documentElement, the code just add touch pattern event, which lead to users can't use mouse.
So we should remove the 'else' block to add mouse event for all device.
And I test the code without 'else' block, it works well with touch and mouse.