refactor all directives to follow our JS styleguide conventions