Creating a single page Javascript app to return search results from the omdb API