Adding JS documentation