Properly comment the modal animation JS