Handling of NRRD files in Javascript.