Broke out creation of alt div to its own method.
Fix issue where a single result is returned when pressing enter.