not firing function

changed CDN, added alert for confirmation.