begin js for change collection