Cleaned up some html and removed unnecessary javascript function