added js offsite

added old pg and new script