Simple MPC done in HTML5.