Model Driven App Javascript Interview Question