fixed JS for drilldowns