Fix Offsite Javascript