Make Heat Flow calculator jQuery safe, closes #58.