added some docs on JS actions