JS: test static property completion.