Fix compilation of webkit without the TOUCH_EVENTS

Added missing #if ENABLE(TOUCH_EVENTS)
for generated/JSDocument.* files

issue: http://code.google.com/p/phantomjs/issues/detail?id=375