ScriptHash from bitcoin address with BitcoinJS
Got the answer via github

let script = bitcoin.address.toOutputScript(address)
let hash = bitcoin.crypto.sha256(script)
let reversedHash = new Buffer(hash.reverse())

console.log(address, ' maps to ', reversedHash.toString('hex'))


Note that -for some reason- Electrum uses the reverse scripthash