if (typeof(window.eth) === "undefined") { if (typeof(require) !== "undefined") require( ['ethString'], function() {} ) else if (typeof(String.prototype.pad) === "undefined") { var scriptTag = document.getElementsByTagName('script'); scriptTag = scriptTag[scriptTag.length - 1]; var scriptPath = scriptTag.src; var path = scriptPath.substr(0, scriptPath.lastIndexOf( '/' )); var start = '