js tests
cleanup
Tweaking typesript files