refactor(jquery): remove all jquery calls

Remove all jquery calls in the directive