JS unit tests added.