Get rid off jQuery dependency