Update serverFunctions.js

patch for updating valid extensions to show in project tree view