Break out loadMathJax() function to Module level

Delete console.log error