Test of 3DNP javascript program