add chunking js