chore($compile): added missing semi-colons and removed unused variable