^ update js structure