kernelDensityEstimates.js A javascript function to calculate kernel density estimates using automatic bandwidth prediction, just like specified in Stata manual.