bugfix for jquery, react