updated tests, added js app client