Client side JavaScript (NodeJS) - Client script to increment and decrement a counter every time someone opens or closes a page, by opening a socket to the server script.