added some js test doc