Associating JS folder structure