Supply default object if window is not defined. Requiredin Tessel environment (at least).
Use smaller random numbers for wAMP ids, since they are being converted to scientific notation somewhere along the line.
Don't include cra; crypto package is not working on Tessel