minor edit on movieApp from var movieApp to window.movieApp