add support for jquery safe mode in wordpress