Moviesapp with javascript