Simple vanilla JS MVC implementation