Submit and search event handlers properly call getMovieIDs function.