populate_table() and get_user_input() function in js