made js more backboney