Removed unnecessary log statements.
Removed unnecessary HTML, refactored and restyled.