Changing code around getting streams to work with Temasys plugin in Safari