Update ssid.js

Only attempt to use diceware if window.crypto.getRandomValues is defined