updated advanced report and js