struct. js