Why implement low-level hardware handshaking via JavaScript in the browser, if all you want to do is sync application data?