Add more JavaScript list functions.