Fixed HTML errors, added analytics