(shudder) more code in base.js? Is there a page specific js you could add this to instead or perhaps bite the bullet and create one with this code? I assume it should only be accessible on the assets page or in an assets view.