JS: streamline brush creation for boxzoom