frequently used structure for my JS projects