.change js structure