Removing jQuery dependency