Removed extraneous and commented lines of JS and CSS;
moved selection toggle for notification items to its own function.