filter, welcome-file added. js refactoring 3