adds table html to erb:index
adds javascript functionality for onmouseover