refactor mathheight.js javascript from _header partial to view templates