Show script or download{:target="_blank"} it.
{% highlight javascript %}
{% include_relative script.js %}
{% endhighlight %}
This script returns a grayscale visualization of digital elevation model, using a colorBlend function, assigning continuous colors to the elevation borders.