fixed client gallery
rearranged js files