Fixed list item javascript errors. More work on html and layout.