constants.js: PERIOD is now a reasonable 40