s/js/ls/

Just tried to make a faithful implementation in LS (-- not intended to replace the current one of course).

One thing is that I did remove `return o.hasOwnProperty(name)`. That's the only "interesting" part of the PR