Add reference to GestureEvent to references.ts and fix bustage in TS file. r=me