Ported to pure nodejs, express and assemble