added more cdn support for js