add stream folder, write some example js scripts