fix TupleSpace#write options #1
implemented linda.js and update sample  #1