work continues on JS code and docs