Panel Overview JavaScript order issue

Hi, i want to override the k-users-view component, but this component use the function “this.$esc” which is stored in app.js. The problem is, kirby loads first the plugin javascript files and the app.js at last. How can i fix it or can i change the javascript file order? Is it okay to edit the panel.php in kirby/views or does an update overwrite this file?

EDIT: I’ve tried to change the order of loading javascript files, but if kirby loads first the app.js and then the plugin javascript, the panel view overwrite does’nt work anymore. :frowning: :frowning: :frowning:

Thank you so much for help