adding utility.js and cleaning up eventdetails a bit