Let admins delete jobs, and make JS work on admin pages.

Fixes #542. Fixes #453.