separated data from js and put into folders