Updating library to handle new jQuery libraries