We should add a system to the plugins architecture to allow a plugin to inject Javascript into the staff and or catalog side of Koha. This would be nice than the current workaround of adding the javascript to the UserJS system preferences.
*** This bug has been marked as a duplicate of bug 21352 ***