How to write MVC style code using Vanilla Javascript?Here is my implementation of MVC using vanilla javascript.Go here to play with it https://jsfiddle.net/vishnunuk/gvm3yuqp/