JS ID check added to new page