fixed repeat thot bug and added js for gift selection