Fixed cursor position after delete and added support for highlighted selection

Added two lines to see if cursor position is less than 0. If so, set to 0.

There are two files named jsKeyboard.js. I just copied the changes into the other so they match. Why have two?