Reorganized JS and used minified sources from cdns