Added delete key to the firefox routine.

The delete key didn't function correctly in firefox, this change fixes this.