Some JS Unit tests added.