Port of data.js to standalone server