Slight fix in density_slider
Slight fix in density_slider

  - Had created an array using

      var xy = new Array(2);

    when I could just do

      var xy = [];

kbroman/JSbroman,kbroman/JSbroman,kbroman/JSbroman