reorganized js libraries