Fix JavaScript loading issues on website.