JavaScript single page app using www.omdbapi.com