push of some JS studying and tests I've written

lots of goodies