change js api. to cdn.