extra checks script js