Fixed #106: resolved deprecation warnings in server.js