Fix JS issue with script throwing error on Landing Page.