js change on checkout