js code of master.html moved to cdr_stats_js.html