Update server.js

Fixed that the page always loaded the 404 page
Added handlers for new wams signals