Add JS update of cost code cell