Implemented fetcher with js