Online checker
Offline mode in js