[fx] Web API: warn the webpage when the API script is loaded