Update ls.js

Trying to implement Keyboard event. But not working properly. Will you please see whats the problem here?