Added jQuery
Post function
Process tex
JS and onclick