JS structure