I think running ./nodebb upgrade is actually applicable to all NodeBB versions now. Should make the appropriate changes to docs @PitaJ ...
Nicolas, I'm assuming you don't want to put your js inline in the template? 😄
For my plugins (I have my own fork of quickstart that I use), I actually make them require.js modules, so they are loaded on-demand: https://github.com/NodeBB/nodebb-plugin-quickstart/blob/julian/static/lib/admin.js
But looking back, this might also minified, so... 😆