Fix some stuff

 * remove node_modules
 * add swig to package.json
 * fix routes
 * fix client side crash