Added onkeypress event for latinW