Lock ledPins to specific connection

TODO: Does not work properly on mobile; the socket does not disconnect
when the screen is turned of or if the user switches to another app.
SOLUTION: https://github.com/mathiasbynens/jquery-visibility (this still
has to be implemented(