try collatex javascript library