Added insertItemsAt function to datalist