You said you want to remove jQuery dependency but you use it there.