methods server directory and client/wayd common js updated.