Nested Sampling for Javascript applications