fix organization of js files and fix photos page sliders