Typo
Adding directive html, clean up code