a bit of clean up in the custom admin js