You can buy this project and download/modify it how often you want.
Math.atanh=function(t){return Math.log((1+t)/(1-t))/2};