How to import body-end.html script to index.html?

I have body-end.html that contain compass script and now i want to link it with index.html. Can anyone help me?

This should happen automatically when you upload or bundle the scene. Desktop application also includes body-end.html automatically in the index.html.