do clearer case checking and load minified lib in worker