Add mathjs support