Javascript version of MONICA model