I’ve created a H5 Application but the Global JS file is empty, what’s wrong?

The code that used to be generated by the templates into the global.js file has been moved elsewhere.
So that file will be empty unless you’ve added custom code of your own into it.