working on getting return key working as I want it to within javascript
got some shreds of corrections working. it is a mess.