Remove jQuery dependency and update tests