determistic.js shim