refactor(jQuery): remove jQuery and replace it with own functions