adjust paths for new node.js server functionality

this should be merged AFTER #35 and #36