update R.js, distribution, d,p,q,r