app.js now detects if you have an ip from a wlan connection