If you want to use some LaTeX packages, checkout main.js and add a line to download the corresponding file. You need a recent browser (like Firefox or Chrome) with HTML5 support (for WebWorkers) to run texlive.js.
main.js