added js test samples.