Update src/list.js

cleaned up some formatting issues