switch js to cdn