SpringbokJS common stuff for browser and server