competed js unit tests
minor updates