removed jQuery dependency