js list populate working now