nani javascript