added trigger js