Fix a JS loading error.