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