Fast Perlin based noise for JavaScript