This is a simulation application of multiplexer using JavaScrpit