modifying search pattern
wrapper for cleanjs