Hub server side library for JavaScript