MaJ Generic events socket.js

The -g api, made by Federico and Me follow the Isart Convention, be sure
to read all the commentary before using it ( follow the Best Way To Use
)