js structure