[front-end] move script to bottom of index.html