Updated script links in html to prevent possible race condition caused by loading root script asynchronously