Small modification cpa-lastweek.js