Oops. Had to add the javascript.js file to the admin page.