Refactor: Deleting trash stuff from HTML Code