Improvements in DOM API, tried to complete the list module, fail... Check commented code.