First pass at js-events challenge