fleshing out the list, developing javascript to recognise input values and names