unification: added local police queries to main.js. ready to merge.