JS: variable declarations are read by typeStore.