#69 search optimized; implement ES JS API