added "appReady" custom event and check for wifi plugin test