A test on demonstrating consensus through a JavaScript app