Changed math import to replace $ with data-math tags; Added data-math to the list of allowed attributes