remove some comments from server.js and fix search to use relative paths