combined some scripts, restructured js libraries, variable cdn path