Add directives so JSHint passes