Simple Distributed Game Library in JavaScript