changed .live event to on event