High quality JavaScript disease surveillance algorithms