Add a console warning if platform.js is not the first script