fixed up the javascript for setting report filters