removing jQuery dependency