Fix group by issue with reports
Fix production config. for page specific js