NJS Javascript library