adding current env function to FirehoseJS root object