Added a maxLength option which allows the dev to limit the number of entries that are drawn by a list