toAddress = function (address) {
    if (isStrictAddress(address)) {
        return address;
    }

    if (/^[0-9a-f]{40}$/.test(address)) {
        return '0x' + address;
    }

    return '0x' + padLeft(toHex(address).substr(2), 40);
}
Transforms given string to valid 20 bytes-length addres with 0x prefix

@method toAddress
@param {String} address
@return {String} formatted address