Electrostatic discharge effects in thin film transistors door