Nunchuck.js is a library for mobile web-based control of browser applications. It’s easy multi-device data synchronization through the browser. They provide a library that easily allows developers to integrate mobile browser controls into desktop browser-based javascript games with very few (<15) lines of code.
Full article