Attempting to fix JS errors in the deployed site.