Set up code to record user input in a list

Still need to get javascript to return a value; Errors occur currently