moved the list to js