added standalone server.js
added plain js test suite