getting web.js to work on server