Update check-online.js