In general inline event handler assignments make the code harder to read. You can use http://api.jquery.com/change/ below like where you do https://github.com/code-dot-org/dashboard/pull/568/files#diff-f36c1523682b2b316229e0c6faef21efR75.