I don't believe details.js is the appropriate place to put this event handler