addding new JS structure