fixed new event form text color, and cleaned event js