Fixed #115: resolved more deprecation warnings in server.js