Add javascript MVC architecture pattern.