initial version of smeshserver.js