Added batch R code for JSD plot making.