add initial stream.js support