Cleaned up html and js